package java3_21.MobilePhone;
//功能机
public class CommonHandSet extends Phone{
    public CommonHandSet(String brand, String type) {
        super(brand, type);
    }

    @Override
    public void ringUp() {
        System.out.println("功能机能打电话!");
    }

    @Override
    public void sendMessage() {
        System.out.println("功能机能发短信!");
    }

    @Override
    public void print() {
        System.out.println("这是一部"+this.getBrand()+this.getType());
    }
}
